package com.dragon.modules.yuegou.service.merchant;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.common.web.PageRequest;
import com.dragon.modules.yuegou.entity.merchant.ActivityFaqEntity;
import com.dragon.modules.yuegou.model.merchant.ActivityFaq;
import com.dragon.modules.yuegou.query.merchant.ActivityFaqQuery;

/**
 * 咨询 服务接口
 *
 * @author pbuilder generated
 * @date 2019-09-23 10:25:45
 * @version 2.0
 */
public interface ActivityFaqService extends IService<ActivityFaqEntity> {

	/**
	 * 查询问题
	 * */
	IPage<ActivityFaq> search(PageRequest page, ActivityFaqQuery query);

	/**
	 * 查询问题详情
	 * */
	ActivityFaq getFaq(String id);

	/**
	 * 新增问题
	 * */
	void saveFaq(ActivityFaq activityFaq);

	/**
	 * 修改商户排序
	 * */
	void saveSortNo(String id, Integer sortNo);

	/**
	 * 删除问题
	 * */
	void deleteFaq(String id);


}